<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui" xmlns:ui="http://java.sun.com/jsf/facelets"
        >
<ui:composition>
    <h:form id="editForm" prependId="true">
        <p:dialog id="editDialog" widgetVar="eDialog" modal="true" resizable="false" showEffect="drop" hideEffect="drop"
                  draggable="false">
            <f:facet name="header"><ui:insert name="editDialogHeader"/></f:facet>
            <p:panelGrid id="editPanel" columns="2">
                <ui:insert name="editDialogBody"/>
            </p:panelGrid>
            <f:facet name="footer">
                <p:commandButton
                        update=":listForm:editTable :gf:growl"
                        oncomplete="eDialog.hide()" value="#{msg.save}"
                        icon="ui-icon-check" style="margin:0">
                    <ui:insert name="editDialogSaveCommand"/>
                </p:commandButton>
                <p:commandButton type="button" onclick="eDialog.hide()" value="#{msg.cancel}" icon="ui-icon-close"
                                 style="margin:0"/>
            </f:facet>
        </p:dialog>
    </h:form>
</ui:composition>
</html>